<script setup lang="ts">
import { ref,onMounted,reactive,h } from "vue"
import { useStore } from '@/store'

const store = useStore()


onMounted(()=>{
  if (sessionStorage.getItem("userInfo") ) {
    let str:any = sessionStorage.getItem('userInfo')
    store.commit('setuserInfo',JSON.parse(str))
  }
})
</script>

<template>
  <router-view />
</template>

<style>
/*@import '@/assets/font/font.css';*/
*{
  margin: 0;
  padding: 0;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
</style>
